package com.hz.ruoyistorage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hz.ruoyistorage.domain.LgGoods;
import org.apache.ibatis.annotations.Update;

/**
 * @version 1.0
 * @Author gj
 * @Date 2025/3/10 18:41
 * @注释
 */
public interface LgGoodsMapper extends BaseMapper<LgGoods> {



    @Update("update lg_goods set delete_status = 1 where goods_id = #{goodsId} OR parent_id =#{goodsId}")
    public Integer delGoods(Integer goodsId);
}
